package io.github.talelin.latticy.common.enumeration;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @authoer:wulongbo
 * @createDate:2022/6/28
 * @description:
 */
@AllArgsConstructor
@Getter
public enum InboundOrderStatusEnum {

    /**
     * 0取消(删除),1草稿,2已审核,3仓库收货,4收货完成,5上架完成
     */
    CHANCE(0,"取消(删除)"),

    /**
     * 草稿
     */
    DRAFT(1,"草稿"),
    /**
     * 已审核
     */
    TO_BE_CONFIRMED(2,"已审核"),

    /**
     * 仓库收货
     */
    RECEIPT(3,"仓库收货"),

    /**
     * 收货完成
     */
    RECEIPT_COMPLETED(4,"收货完成"),

    /**
     * 上架完成
     */
    SHELF_COMPLETION(5,"上架完成"),

    /**
     * 在途
     */
    ON_THE_WAY(6,"在途");

    @EnumValue
    private Integer inboundOrderStatus;

    @JsonValue    //标记响应json值
    private String inboundOrderStatusDesc;
}
